package com.vlong.town.entity.banner;

import java.io.Serializable;

/**
 * Banner信息实体类
 * @author Assassin
 */
public class BannerInfo implements Serializable {

    /**
     * default SerialVersionUID
     */
    private static final long serialVersionUID = 1L;

    // Fields

    private Long bannerId;// 标识信息-Banner图Id[主键值]
    private Long townId;// 标识信息-村镇Id
    private Integer state;// 状态信息-数据状态[1-正常 | 2-删除]
    private Integer status;// 状态信息-信息互联状态[1-已发布]
    private Integer type;// 基础信息-Banner图类型[1--便民平台首页轮播图   2--游客平台首页轮播图  3--游客平台旅游体验轮播图  4--游客平台本地特产内容图]
    private String title;// 基础信息-Banner图标题
    private String content;// 基础信息-Banner图描述
    private String url;// 基础信息-Banner图
    private String link;// 基础信息-链接地址
    private String color;// 基础信息-标题颜色

    // Empty Constructor
    public BannerInfo() {
        super();
    }

    // Full Constructor
    public BannerInfo(Long bannerId, Long townId, Integer state, Integer status, Integer type, String title, String content, String url, String link, String color) {
        this.bannerId = bannerId;
        this.townId = townId;
        this.state = state;
        this.status = status;
        this.type = type;
        this.title = title;
        this.content = content;
        this.url = url;
        this.link = link;
        this.color = color;
    }

    // Property accessors

    public Long getBannerId() {
        return bannerId;
    }

    public void setBannerId(Long bannerId) {
        this.bannerId = bannerId;
    }

    public Long getTownId() {
        return townId;
    }

    public void setTownId(Long townId) {
        this.townId = townId;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getLink() {
        return link;
    }

    public void setLink(String link) {
        this.link = link;
    }

    public String getColor() {
        return color;
    }

    public void setColor(String color) {
        this.color = color;
    }

    @Override
    public String toString() {
        return "BannerInfo{" +
                "bannerId=" + bannerId +
                ", townId=" + townId +
                ", state=" + state +
                ", status=" + status +
                ", type=" + type +
                ", title='" + title + '\'' +
                ", content='" + content + '\'' +
                ", url='" + url + '\'' +
                ", link='" + link + '\'' +
                ", color='" + color + '\'' +
                '}';
    }
}
